package com.gjy.nacos.server.feign;

import com.gjy.nacos.server.feign.fallback.UserServiceFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.Map;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-03-08 17:25:05
 */
@FeignClient(name = "nacos-server", fallback = UserServiceFactory.class)
public interface UserService {

    @PostMapping("/user/find")
    Object find(Map<String, Object> req);

}
